package tax_return;

import junit.framework.Assert;
import junit.framework.TestCase;

public class Tax1913Test extends TestCase {
	
	public void test1(){
		Tax1913 t = new Tax1913(40000);
		double tax = t.getTax();
		Assert.assertEquals(400, tax, 1e-14);
	}
	
	public void test2(){
		Tax1913 t = new Tax1913(60000);
		double tax = t.getTax();
		Assert.assertEquals(700, tax, 1e-14);
	}

	public void test3(){
		Tax1913 t = new Tax1913(90000);
		double tax = t.getTax();
		Assert.assertEquals(1450, tax, 1e-14);
	}
	
	public void test4(){
		Tax1913 t = new Tax1913(200000);
		double tax = t.getTax();
		Assert.assertEquals(5750, tax, 1e-14);
	}
	
	public void test5(){
		Tax1913 t = new Tax1913(300000);
		double tax = t.getTax();
		Assert.assertEquals(10250, tax, 1e-14);
	}
	
	public void test6(){
		Tax1913 t = new Tax1913(600000);
		double tax = t.getTax();
		Assert.assertEquals(26250, tax, 1e-14);
	}
}
